#include "TRANSFORMATIONData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::FEM;

bool SG::DataStructure::FEM::operator==(
    const TRANSFORMATIONData::IDATAData& val1,
    const TRANSFORMATIONData::IDATAData& val2) {
  FIELD_COMPARE(m_DATA)
  return true;
}
bool SG::DataStructure::FEM::operator==(
    const TRANSFORMATIONData::RDATAData& val1,
    const TRANSFORMATIONData::RDATAData& val2) {
  FIELD_COMPARE(m_DATA)
  return true;
}

bool SG::DataStructure::FEM::operator==(const TRANSFORMATIONData& val1,
                                        const TRANSFORMATIONData& val2) {
  FIELD_COMPARE(m_id)
  FIELD_COMPARE(m_TYPE)
  FIELD_COMPARE(m_domainId)
  return true;
}